getTextLineHeight

abstract fun getTextLineHeight(block: DesignBlock, paragraphIndex: Int): Float

Returns the line height multiplier for a specific paragraph of a text block.

Returns the per-paragraph override if one is set, otherwise returns the block-level lineHeight.

Return

the line height multiplier for the paragraph.

Parameters

block

the text block to query.

paragraphIndex

the 0-based index of the paragraph.